home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-06-25 | 1.3 KB | 40 lines | [TEXT/MPS ] |
- :moldyn:readme
- June 25, 1999
-
- by George G. Geller
- ggeller@cybercandidate.com
-
- Molecular Dynamics (not!)
-
- For the 1999 MacHack contest.
-
- This hack demonstrates optimization of very simple image processing.
-
- Caution: >>>>> REQUIRES A G4 PROCESSOR <<<<<
-
- *** Introduction:
-
- A representation of an atom moves in a window in a scientifically accurate manner. But it is a sort of
- disco atom, so it changes colors and leaves a path as it moves along its trajectory.
-
- The computationally intensive part is fading the path as the atom goes along. Moldyn can fade the
- path in three different ways: 1) Using SetCPixel for each pixel 2) Directly modifying the data in
- the PixMap and 3) On G4 machines modify the PixMap using AltiVec instructions.
-
- *** Operation:
-
- Run moldyn on a G4 Macintosh. Notice how slowly the atom moves. The temperature is near absolute zero.
-
- Hold down the option key to invoke direct manipulation of the PixMap. Notice that the kinetic energy
- of the atom increases.
-
- Hold down the option key and the shift key to invoke direct manipulation of the PixMap using AltiVec code.
- Notice that the kinetic energy of the atom increases even more.
-
- *** Acknowlegements:
-
- Moldyn would have not been been possible without help from Douglas Clarke.
-
- Based on advanced Bob world technology.
-
-